.class Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;
.super Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator;
.source "JumptapConfigurator.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator",
        "<",
        "Lcom/jumptap/adtag/JtAdWidgetSettings;",
        ">;"
    }
.end annotation


# static fields
.field private static final AD_HEIGHT_KEY:Ljava/lang/String; = "adHeight"

.field public static final AD_SPOT:Ljava/lang/String; = "adSpot"

.field private static final AD_TRANSPARENT_BGR_KEY:Ljava/lang/String; = "transparentBgr"

.field private static final AD_WIDTH_KEY:Ljava/lang/String; = "adWidth"

.field public static final APPLICATION_ID:Ljava/lang/String; = "applicationId"

.field public static final APPLICATION_VERSION:Ljava/lang/String; = "applicationVersion"

.field public static final DISMISS_LABEL:Ljava/lang/String; = "dismissLabel"

.field public static final IS_INTERSTITIAL:Ljava/lang/String; = "isInterstitial"

.field private static final PUBLISHER_ID:Ljava/lang/String; = "publisherId"

.field private static final REFRESH_PERIOD_IN_SEC:Ljava/lang/String; = "refreshPeriodInSec"

.field private static final SHOULD_SEND_LOCATION:Ljava/lang/String; = "shouldSendLocation"

.field private static final SITE_ID:Ljava/lang/String; = "siteId"


# instance fields
.field private mAdultContent:Ljava/lang/String;

.field private mAge:Ljava/lang/String;

.field private mApplicationId:Ljava/lang/String;

.field private mApplicationVersion:Ljava/lang/String;

.field private mCountry:Ljava/lang/String;

.field private mDismissLabel:Ljava/lang/String;

.field private mGender:Ljava/lang/String;

.field private mHeight:Ljava/lang/Integer;

.field private mHhi:Ljava/lang/String;

.field private mIsInterstitial:Z

.field private mIsPrecacheInterstitial:Z

.field private mLanguage:Ljava/lang/String;

.field private mPostalCode:Ljava/lang/String;

.field private mPublisherId:Ljava/lang/String;

.field private mRefreshPeriodInSec:I

.field private mShouldSendLocation:Z

.field private mSiteId:Ljava/lang/String;

.field private mSpotId:Ljava/lang/String;

.field private mTransparentBackground:Z

.field private mWidth:Ljava/lang/Integer;


# direct methods
.method constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, -0x1

    .line 235
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator;-><init>()V

    .line 102
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHeight:Ljava/lang/Integer;

    .line 107
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mWidth:Ljava/lang/Integer;

    .line 195
    const/4 v0, 0x0

    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mRefreshPeriodInSec:I

    .line 230
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mShouldSendLocation:Z

    .line 236
    return-void
.end method

.method private getAdultContentPolicy(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "adultContent"

    .prologue
    const/4 v0, 0x0

    .line 408
    if-nez p1, :cond_1

    move-object p1, v0

    .line 415
    .end local p1
    :cond_0
    :goto_0
    return-object p1

    .line 410
    .restart local p1
    :cond_1
    const-string v1, "allowed"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "notAllowed"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "only"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    move-object p1, v0

    .line 415
    goto :goto_0
.end method

.method private getGenderType(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "genderType"

    .prologue
    const/4 v0, 0x0

    .line 391
    if-nez p1, :cond_1

    .line 398
    :cond_0
    :goto_0
    return-object v0

    .line 393
    :cond_1
    const-string v1, "male"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 394
    const-string v0, "m"

    goto :goto_0

    .line 395
    :cond_2
    const-string v1, "female"

    invoke-virtual {p1, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 396
    const-string v0, "f"

    goto :goto_0
.end method

.method private getIncomeParamFromValue(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "householdIncome"

    .prologue
    .line 425
    if-nez p1, :cond_0

    .line 426
    const/4 v1, 0x0

    .line 448
    :goto_0
    return-object v1

    .line 428
    :cond_0
    const/4 v1, 0x0

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-static {p1, v1}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 429
    .local v0, incomeValue:I
    const/16 v1, 0x3a98

    if-ge v0, v1, :cond_1

    .line 430
    const-string v1, "000_015"

    goto :goto_0

    .line 431
    :cond_1
    const/16 v1, 0x4e20

    if-ge v0, v1, :cond_2

    .line 432
    const-string v1, "015_020"

    goto :goto_0

    .line 433
    :cond_2
    const/16 v1, 0x7530

    if-ge v0, v1, :cond_3

    .line 434
    const-string v1, "020_030"

    goto :goto_0

    .line 435
    :cond_3
    const v1, 0x9c40

    if-ge v0, v1, :cond_4

    .line 436
    const-string v1, "030_040"

    goto :goto_0

    .line 437
    :cond_4
    const v1, 0xc350

    if-ge v0, v1, :cond_5

    .line 438
    const-string v1, "040-050"

    goto :goto_0

    .line 439
    :cond_5
    const v1, 0x124f8

    if-ge v0, v1, :cond_6

    .line 440
    const-string v1, "050-075"

    goto :goto_0

    .line 441
    :cond_6
    const v1, 0x186a0

    if-ge v0, v1, :cond_7

    .line 442
    const-string v1, "075-100"

    goto :goto_0

    .line 443
    :cond_7
    const v1, 0x1e848

    if-ge v0, v1, :cond_8

    .line 444
    const-string v1, "100_125"

    goto :goto_0

    .line 445
    :cond_8
    const v1, 0x249f0

    if-ge v0, v1, :cond_9

    .line 446
    const-string v1, "125-150"

    goto :goto_0

    .line 448
    :cond_9
    const-string v1, "150_OVER"

    goto :goto_0
.end method

.method private setAdSize(Ljava/util/Map;)V
    .locals 7
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const/4 v6, -0x1

    .line 366
    const-string v4, "adSizeCodeValue"

    invoke-interface {p1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 367
    .local v1, defaultAdSize:Ljava/lang/Object;
    if-eqz v1, :cond_0

    .line 368
    check-cast v1, Ljava/lang/String;

    .end local v1           #defaultAdSize:Ljava/lang/Object;
    invoke-static {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;->parseAdSize(Ljava/lang/String;)Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;

    move-result-object v0

    .line 369
    .local v0, adSize:Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;
    if-eqz v0, :cond_0

    .line 370
    invoke-virtual {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;->getWidth()I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    iput-object v4, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mWidth:Ljava/lang/Integer;

    .line 371
    invoke-virtual {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;->getHeight()I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    iput-object v4, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHeight:Ljava/lang/Integer;

    .line 374
    .end local v0           #adSize:Lcom/burstly/lib/conveniencelayer/BurstlyAdSize;
    :cond_0
    const-string v4, "adWidth"

    invoke-interface {p1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v3

    .line 375
    .local v3, serverWidth:I
    const-string v4, "adHeight"

    invoke-interface {p1, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 376
    .local v2, serverHeight:I
    if-eq v3, v6, :cond_1

    .line 377
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    iput-object v4, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mWidth:Ljava/lang/Integer;

    .line 379
    :cond_1
    if-eq v2, v6, :cond_2

    .line 380
    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    iput-object v4, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHeight:Ljava/lang/Integer;

    .line 382
    :cond_2
    return-void
.end method

.method private setInterstitial(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .line 350
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const-string v2, "isCodeValueInterstitial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 351
    .local v0, defaultInterstitial:Ljava/lang/Object;
    if-eqz v0, :cond_0

    .line 352
    check-cast v0, Ljava/lang/Boolean;

    .end local v0           #defaultInterstitial:Ljava/lang/Object;
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    iput-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mIsInterstitial:Z

    .line 354
    :cond_0
    const-string v2, "isInterstitial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 355
    .local v1, serverInterstitial:Ljava/lang/Object;
    if-eqz v1, :cond_1

    .line 356
    const-string v2, "YES"

    check-cast v1, Ljava/lang/String;

    .end local v1           #serverInterstitial:Ljava/lang/Object;
    invoke-virtual {v2, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    iput-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mIsInterstitial:Z

    .line 358
    :cond_1
    return-void
.end method


# virtual methods
.method protected applyClientTargetingParamsToNetwork(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 279
    .local p1, clientTargetingParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v2, "adultContent"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 280
    .local v1, val:Ljava/lang/String;
    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->getAdultContentPolicy(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAdultContent:Ljava/lang/String;

    .line 281
    const-string v2, "dateOfBirth"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .end local v1           #val:Ljava/lang/String;
    check-cast v1, Ljava/lang/String;

    .line 282
    .restart local v1       #val:Ljava/lang/String;
    const-string v2, "dd-MM-yyyy"

    invoke-static {v1, v2}, Lcom/burstly/lib/util/Utils;->getDateFromString(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    .line 283
    .local v0, date:Ljava/util/Date;
    invoke-static {v0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->getAge(Ljava/util/Date;)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAge:Ljava/lang/String;

    .line 284
    const-string v2, "country"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mCountry:Ljava/lang/String;

    .line 285
    const-string v2, "gender"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .end local v1           #val:Ljava/lang/String;
    check-cast v1, Ljava/lang/String;

    .line 286
    .restart local v1       #val:Ljava/lang/String;
    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->getGenderType(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mGender:Ljava/lang/String;

    .line 287
    const-string v2, "income"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .end local v1           #val:Ljava/lang/String;
    check-cast v1, Ljava/lang/String;

    .line 288
    .restart local v1       #val:Ljava/lang/String;
    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->getIncomeParamFromValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHhi:Ljava/lang/String;

    .line 289
    const-string v2, "postalCode"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPostalCode:Ljava/lang/String;

    .line 290
    return-void
.end method

.method public configure(Lcom/jumptap/adtag/JtAdWidgetSettings;)V
    .locals 2
    .parameter "objConfigure"

    .prologue
    const/4 v1, -0x1

    .line 294
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPublisherId:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setPublisherId(Ljava/lang/String;)V

    .line 295
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mSpotId:Ljava/lang/String;

    if-eqz v0, :cond_0

    .line 296
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mSpotId:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setSpotId(Ljava/lang/String;)V

    .line 298
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mSiteId:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 299
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mSiteId:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setSiteId(Ljava/lang/String;)V

    .line 301
    :cond_1
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mLanguage:Ljava/lang/String;

    if-eqz v0, :cond_2

    .line 302
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mLanguage:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setLanguage(Ljava/lang/String;)V

    .line 304
    :cond_2
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPostalCode:Ljava/lang/String;

    if-eqz v0, :cond_3

    .line 305
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPostalCode:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setPostalCode(Ljava/lang/String;)V

    .line 307
    :cond_3
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mCountry:Ljava/lang/String;

    if-eqz v0, :cond_4

    .line 308
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mCountry:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setCountry(Ljava/lang/String;)V

    .line 310
    :cond_4
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAge:Ljava/lang/String;

    if-eqz v0, :cond_5

    .line 311
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAge:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setAge(Ljava/lang/String;)V

    .line 313
    :cond_5
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mGender:Ljava/lang/String;

    if-eqz v0, :cond_6

    .line 314
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mGender:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setGender(Ljava/lang/String;)V

    .line 316
    :cond_6
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHhi:Ljava/lang/String;

    if-eqz v0, :cond_7

    .line 317
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHhi:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setHHI(Ljava/lang/String;)V

    .line 319
    :cond_7
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mDismissLabel:Ljava/lang/String;

    if-eqz v0, :cond_8

    .line 320
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mDismissLabel:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setDismissButtonLabel(Ljava/lang/String;)V

    .line 322
    :cond_8
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mApplicationId:Ljava/lang/String;

    if-eqz v0, :cond_9

    .line 323
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mApplicationId:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setApplicationId(Ljava/lang/String;)V

    .line 325
    :cond_9
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mApplicationVersion:Ljava/lang/String;

    if-eqz v0, :cond_a

    .line 326
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mApplicationVersion:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setApplicationVersion(Ljava/lang/String;)V

    .line 328
    :cond_a
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAdultContent:Ljava/lang/String;

    if-eqz v0, :cond_b

    .line 329
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAdultContent:Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setAdultContentType(Ljava/lang/String;)V

    .line 331
    :cond_b
    iget v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mRefreshPeriodInSec:I

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setRefreshPeriod(I)V

    .line 332
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mShouldSendLocation:Z

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setShouldSendLocation(Z)V

    .line 333
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mWidth:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-eq v0, v1, :cond_c

    .line 334
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mWidth:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setWidth(I)V

    .line 336
    :cond_c
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHeight:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-eq v0, v1, :cond_d

    .line 337
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHeight:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setHeight(I)V

    .line 339
    :cond_d
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mTransparentBackground:Z

    if-eqz v0, :cond_e

    .line 340
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lcom/jumptap/adtag/JtAdWidgetSettings;->setBackgroundColor(I)V

    .line 342
    :cond_e
    return-void
.end method

.method public bridge synthetic configure(Ljava/lang/Object;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 37
    check-cast p1, Lcom/jumptap/adtag/JtAdWidgetSettings;

    .end local p1
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->configure(Lcom/jumptap/adtag/JtAdWidgetSettings;)V

    return-void
.end method

.method isInterstitial()Z
    .locals 1

    .prologue
    .line 456
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mIsInterstitial:Z

    return v0
.end method

.method isPrecacheInterstitial()Z
    .locals 1

    .prologue
    .line 464
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mIsPrecacheInterstitial:Z

    return v0
.end method

.method public readParameters(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalArgumentException;
        }
    .end annotation

    .prologue
    .line 241
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->applyClientTargetingIfAllowed(Ljava/util/Map;)V

    .line 243
    const-string v1, "publisherId"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPublisherId:Ljava/lang/String;

    .line 244
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPublisherId:Ljava/lang/String;

    const-string v2, "\'publisherId\' is unset. Set it on server."

    invoke-static {v1, v2}, Lcom/burstly/lib/util/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 245
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->setInterstitial(Ljava/util/Map;)V

    .line 246
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->setAdSize(Ljava/util/Map;)V

    .line 249
    const-string v1, "siteId"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mSiteId:Ljava/lang/String;

    .line 250
    const-string v1, "adSpot"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mSpotId:Ljava/lang/String;

    .line 251
    const-string v1, "dismissLabel"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mDismissLabel:Ljava/lang/String;

    .line 252
    const-string v1, "refreshPeriodInSec"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    iput v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mRefreshPeriodInSec:I

    .line 253
    const-string v1, "applicationId"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mApplicationId:Ljava/lang/String;

    .line 254
    const-string v1, "applicationVersion"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mApplicationVersion:Ljava/lang/String;

    .line 255
    const-string v1, "shouldSendLocation"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 256
    .local v0, val:Ljava/lang/Object;
    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mShouldSendLocation:Z

    .line 258
    const-string v1, "transparentBgr"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 259
    .restart local v0       #val:Ljava/lang/Object;
    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v1

    iput-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mTransparentBackground:Z

    .line 262
    const-string v1, "language"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mLanguage:Ljava/lang/String;

    .line 263
    const-string v1, "postalCode"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 264
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_0

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_0
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPostalCode:Ljava/lang/String;

    .line 265
    const-string v1, "country"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 266
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_1

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_1
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mCountry:Ljava/lang/String;

    .line 267
    const-string v1, "age"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 268
    .restart local v0       #val:Ljava/lang/Object;
    if-eqz v0, :cond_2

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_2
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAge:Ljava/lang/String;

    .line 269
    const-string v1, "gender"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->getGenderType(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 270
    .local v0, val:Ljava/lang/String;
    if-eqz v0, :cond_3

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/String;
    :goto_3
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mGender:Ljava/lang/String;

    .line 271
    const-string v1, "hhi"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 272
    .local v0, val:Ljava/lang/Object;
    if-eqz v0, :cond_4

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/Object;
    :goto_4
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHhi:Ljava/lang/String;

    .line 273
    const-string v1, "adultContent"

    invoke-interface {p1, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->getAdultContentPolicy(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 274
    .local v0, val:Ljava/lang/String;
    if-eqz v0, :cond_5

    check-cast v0, Ljava/lang/String;

    .end local v0           #val:Ljava/lang/String;
    :goto_5
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAdultContent:Ljava/lang/String;

    .line 275
    return-void

    .line 264
    .local v0, val:Ljava/lang/Object;
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mPostalCode:Ljava/lang/String;

    goto :goto_0

    .line 266
    :cond_1
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mCountry:Ljava/lang/String;

    goto :goto_1

    .line 268
    :cond_2
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAge:Ljava/lang/String;

    goto :goto_2

    .line 270
    .local v0, val:Ljava/lang/String;
    :cond_3
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mGender:Ljava/lang/String;

    goto :goto_3

    .line 272
    .local v0, val:Ljava/lang/Object;
    :cond_4
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mHhi:Ljava/lang/String;

    goto :goto_4

    .line 274
    .local v0, val:Ljava/lang/String;
    :cond_5
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mAdultContent:Ljava/lang/String;

    goto :goto_5
.end method

.method setPrecacheInterstitial(Z)V
    .locals 0
    .parameter "isPrecacheInterstitial"

    .prologue
    .line 471
    iput-boolean p1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapConfigurator;->mIsPrecacheInterstitial:Z

    .line 472
    return-void
.end method
